package bdqn.t09.service.impl;

import bdqn.t09.dao.AsAdminMapper;
import bdqn.t09.pojo.AsAdmin;
import bdqn.t09.service.AsAdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AsAdminServiceImpl implements AsAdminService {
    @Resource
    private AsAdminMapper asAdminMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return asAdminMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AsAdmin record) {
        return asAdminMapper.insert(record);
    }

    @Override
    public int insertSelective(AsAdmin record) {
        return asAdminMapper.insertSelective(record);
    }

    @Override
    public AsAdmin selectByPrimaryKey(Integer id) {
        return asAdminMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AsAdmin record) {
        return asAdminMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AsAdmin record) {
        return asAdminMapper.updateByPrimaryKey(record);
    }
}
